package com.i9he.ping.utils;

import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.commons.configuration.reloading.FileChangedReloadingStrategy;

public class ConfigUtils {
	public static final Configuration configuration;
	static {
		PropertiesConfiguration conf = null;
		try {
			conf = new PropertiesConfiguration("config.properties");
			conf.setReloadingStrategy(new FileChangedReloadingStrategy());
		} catch (Exception e) {
			e.printStackTrace();
		}
		configuration = conf;
	}
}
